package messages.registration;

import messages.BaseMessage;
import messages.MessageType;

public class ObserverRegistrationMessage extends BaseMessage {

    public ObserverRegistrationMessage(byte[] data)
    {
        super(data);
    }
    
    public ObserverRegistrationMessage()
    {
        super(null);
        //NOOP
    }

    @Override
    public byte[] toByteArray()
    {
        return defaultByteArray();
    }

    @Override
    public MessageType getMessageType()
    {
        return MessageType.ObserverRegistrationMessage;
    }

    @Override
    public int getMessageSize()
    {
        return 1;
    }

}
